package org.jeecg.modules.motorVehicle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.motorVehicle.entity.TbMotorVehicleInventoryDetails;

import java.util.List;

/**
 * @Description: 机动车辆明细表
 * @Author: jeecg-boot
 * @Date:   2025-04-17
 * @Version: V1.0
 */
public interface TbMotorVehicleInventoryDetailsMapper extends BaseMapper<TbMotorVehicleInventoryDetails> {
    @Select("select * from tb_motor_vehicle_inventory_details  ORDER BY SUBSTRING(org_code, 1, 6) ASC, LENGTH(org_code) ASC, org_code ASC")
    List<TbMotorVehicleInventoryDetails> selectAllCodeASC();

    List<TbMotorVehicleInventoryDetails> selectSummerList(TbMotorVehicleInventoryDetails tbMotorVehicleInventoryDetails);
}
